package com.rtx.edi.model.apibaseinfo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * api基础信息
 * </p>
 *
 * @author zcw
 * @since 2023-03-10
 */
@ApiModel(value = "PlApibaseinfo对象", description = "api基础信息表")
public class PlApibaseinfoDTO{
	
	@ApiModelProperty(value = "id")
	private Long id;
	
    @ApiModelProperty(value = "页面编号")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "页面大小")
    private Integer pageSize = 20;


    @ApiModelProperty("公司id")
    private Long companyId;

//    @ApiModelProperty("报文结构&映射字段编码")
//    private Long structureCode;

    @ApiModelProperty("源应用id")
    private Long applicationId;

    @ApiModelProperty("api域 如/sku/create")
    private String apiDomail;

    @ApiModelProperty("api请求报文模板")
    private String apiRequestTemplate;

    @ApiModelProperty("api请求报文根节点数据类型 object or array")
    private String apiRequestRequestRootType;

    @ApiModelProperty("api请求响应报文模板")
    private String apiResponseTemplate;

    @ApiModelProperty("备注")
    private String remark;
    
    @ApiModelProperty("接口名称")
    private String apiName;
    
    @ApiModelProperty("报文日志关键字段")
    private String logkey;
    
    @ApiModelProperty("表名称")
    private String tableConfig;
    
    private String mainclass;
    
    private String subclass;
    private String source;

	public String getMainclass() {
		return mainclass;
	}

	public void setMainclass(String mainclass) {
		this.mainclass = mainclass;
	}

	public String getSubclass() {
		return subclass;
	}

	public void setSubclass(String subclass) {
		this.subclass = subclass;
	}

	public String getTableConfig() {
		return tableConfig;
	}

	public void setTableConfig(String tableConfig) {
		this.tableConfig = tableConfig;
	}

	public String getLogkey() {
		return logkey;
	}

	public void setLogkey(String logkey) {
		this.logkey = logkey;
	}

	public String getApiName() {
		return apiName;
	}

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getPageNum() {
		return pageNum;
	}

	public void setPageNum(Integer pageNum) {
		this.pageNum = pageNum;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

    @Override
    public String toString() {
        return "PlApibaseinfo{" +
        "companyId=" + companyId +
        ", applicationId=" + applicationId +
        ", apiDomail=" + apiDomail +
         ", apiRequestTemplate=" + apiRequestTemplate +
        ", apiRequestRequestRootType=" + apiRequestRequestRootType +
        ", apiResponseTemplate=" + apiResponseTemplate +
         ", remark=" + remark +
        "}";
    }

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public Long getApplicationId() {
		return applicationId;
	}

	public void setApplicationId(Long applicationId) {
		this.applicationId = applicationId;
	}

	public String getApiDomail() {
		return apiDomail;
	}

	public void setApiDomail(String apiDomail) {
		this.apiDomail = apiDomail;
	}

	public String getApiRequestTemplate() {
		return apiRequestTemplate;
	}

	public void setApiRequestTemplate(String apiRequestTemplate) {
		this.apiRequestTemplate = apiRequestTemplate;
	}

	public String getApiRequestRequestRootType() {
		return apiRequestRequestRootType;
	}

	public void setApiRequestRequestRootType(String apiRequestRequestRootType) {
		this.apiRequestRequestRootType = apiRequestRequestRootType;
	}

	public String getApiResponseTemplate() {
		return apiResponseTemplate;
	}

	public void setApiResponseTemplate(String apiResponseTemplate) {
		this.apiResponseTemplate = apiResponseTemplate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}
}
